package com.lagou.config;

import com.lagou.utils.ParameterMapping;

import java.util.List;

/**
 * @ClassName: BoundSql
 * @Description:
 * @Author: qiaojiacheng
 * @Date: 2021/7/22 5:15 下午
 */
public class BoundSql {
    /**
     * 解析过后的sql语句
     */
    private String sqlText;
    /**
     * 解析出来的参数
     */
    private List<ParameterMapping> parameterMappingList;


    public BoundSql(String sqlText, List<ParameterMapping> parameterMappingList) {
        this.sqlText = sqlText;
        this.parameterMappingList = parameterMappingList;
    }

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<ParameterMapping> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<ParameterMapping> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}
